planner: fix stack overflow caused by folding constant#10174
planner: fix stack overflow caused by folding constant#10174qw4990 merged 6 commits intopingcap:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10174 +/- ##
================================================
- Coverage 77.9754% 77.9143% -0.0611%
================================================
Files 407 405 -2
Lines 82635 82343 -292
================================================
- Hits 64435 64157 -278
- Misses 13424 13441 +17
+ Partials 4776 4745 -31 |
shenli
left a comment
There was a problem hiding this comment.
Do we need to cherry-pick this to the release-2.1 branch?
Because In planner-stage, for example when building scalar function, it should return false because its result depend on column data. I will fix this problem in another PR. |
|
PTAL~ |
|
/run-all-tests |
|
/run-unit-test |
What problem does this PR solve?
Fix #10156.
What is changed and how it works?
When creating dummy function in
foldConstant, useNewFunctionBaseto avoid it fold it again.Check List
Tests